<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title>文章列表--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<!--树形样式-->
	<link rel="stylesheet" href="/public/plugin/zTree/css/demo.css" media="all" >
	<link rel="stylesheet" href="/public/plugin/zTree/css/metroStyle/metroStyle.css" type="text/css">
	<link rel="stylesheet" href="/public/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/public/css/public.css" media="all" />

	<style>
		ul.ztree {
			 border: 0px;
			 background: #ffffff;
			 width: auto;
			 height: auto;
		}
	</style>
</head>

<body class="childrenBody">

<div class="layui-fluid">
	<div class="layui-row">
		<div class="layui-col-md2">
			<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
			<legend>微信菜单</legend>
			</fieldset>
			<div style="display: inline-block; width: 80%; height: 100%; padding: 10px; overflow: auto;">
				<ul id="treeDemo" class="ztree" style="overflow-x: hidden;overflow-y: hidden"></ul>
			</div>
		</div>

		<div class="layui-col-sm10">
			<blockquote class="layui-elem-quote layui-search-quote layui-row">
				<form class="layui-form" id="searchFrom">
					<!--隐藏id-->
					<input type="hidden" name="id" value="" id="id" />
					<!--隐藏层级-->
					<input type="hidden" value="" id="menuLevel" />

					<!--隐藏menuCode-->
					<input type="hidden" value="" id="menuCode" />
					<div class="layui-col-md4">
						<div class="layui-form-item">
							<label class="layui-form-label">菜单名称</label>
							<div class="layui-input-block">
								<input type="text" class="layui-input "  name="menuName" id="menuName" placeholder="请输入菜单名称">
							</div>
						</div>
					</div>
					<div class="layui-col-md4">
						<div class="layui-form-item">
							<label class="layui-form-label">菜单编码</label>
							<div class="layui-input-block">
								<input type="text" class="layui-input " name="menuCode" id="menuCode" placeholder="请输入菜单编码">
							</div>
						</div>
					</div>

					<div class="layui-col-md4 btn-search">
						<div class="layui-form-item">
							<a class="layui-btn search_btn" data-type="reload" id="search_btn">搜索</a>
                            <button class="layui-btn layui-btn-primary search_btn" data-type="reload">重置</button>
						</div>
					</div>
				</form>
			</blockquote>

			<!--<div class="btn" style="display: none;">
				<a class="layui-btn addMenu_btn" id="addMenu_btn">新增</a>
				<hr>
			</div>-->

			<table id="sysMenu" lay-filter="newsList"></table>
		</div>

	</div>
</div>
</body>

<script type="text/javascript" src="/public/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/layui/layui.js"></script>
<script type="text/javascript" src="/js/public.function.js"></script>
<!--树形组建js-->
<script src="/public/plugin/zTree/js/jquery.ztree.core.js"></script>
<script src="/public/plugin/zTree/js/jquery.ztree.excheck.js"></script>
<script src="/public/plugin/zTree/js/jquery.ztree.exedit.js"></script>
<!--树形组建js-->
<script type="text/javascript" src="js/index.js"></script>
</html>